#define _CRT_SECURE_NO_WARTNINGS
#include<stdio.h>
int main(void)
{
	int i = 0, j = 0;
	for (i = 0; i <= 4; i++)
	{
		for (j = 0; j <= i; j++)
			printf("$");
		printf("\n");
	}
	return 0;
}